package com.qf.service;/*
 *保护你的大熊
 *2021/11/11
 *21:48
 */

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;
import com.qf.pojo.User;

public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();

    public User findUserById(Integer id) {
        System.out.println("==========执行了UserServiceImpl类的findUserById方法============");
        User user = userDao.findById(1);

        return user;
    }
}
